package com.example.studentportrait.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.studentportrait.domain.ResponseResult;
import com.example.studentportrait.domain.dto.AddAdminDto;
import com.example.studentportrait.domain.dto.ListUserDto;
import com.example.studentportrait.domain.dto.UpdateAdminDto;
import com.example.studentportrait.domain.dto.UserDto;
import com.example.studentportrait.domain.entity.User;


/**
 * 用户表(User)表服务接口
 *
 * @author 陈海瑞
 * @since 2025-1-11 16:52:54
 */
public interface UserService extends IService<User> {

    ResponseResult adminList(Integer pageNum, Integer pageSize, ListUserDto listUserDto);

    ResponseResult register(User user);

    ResponseResult login(UserDto userDto);

    ResponseResult addAdmin(AddAdminDto addAdminDto);

    ResponseResult updateAdmin(UpdateAdminDto updateAdminDto);
}

